package com.longcai.service.sys;

import com.baomidou.mybatisplus.extension.service.IService;
import com.longcai.bean.ApiResult;
import com.longcai.bean.PageHelper;
import com.longcai.entity.auth.SysShopsUser;
import com.longcai.entity.auth.vo.SysShopsUserVo;
import com.longcai.page.table.PageTableResponse;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author ZJ
 * @since 2019-03-16
 */
public interface SysShopsUserService extends IService<SysShopsUser> {

    SysShopsUser getUser(String username);

    PageTableResponse sysUserlistPage(SysShopsUser sysUser, PageHelper pageHelper);

    ApiResult<SysShopsUser> getSysUserById(String id);

    SysShopsUser updateSysUser(SysShopsUserVo sysUserVo);

    SysShopsUser saveSysUser(SysShopsUserVo sysUserVo);

    ApiResult<SysShopsUser> updatePassword(SysShopsUser sysUse, String newPassword);
}
